+Mon Feb 9 22:22:19 2004 Matthias Clasen <maclas@gmx.de>
+
+ * gtk/gtkcellview.c (gtk_cell_view_cell_layout_clear_attributes):
+ Ugh. Don't try to free ints, even if they're stored in pointers.
+
2004-02-09 Federico Mena Quintero <federico@ximian.com>
Fix #132256.
+Mon Feb 9 22:22:19 2004 Matthias Clasen <maclas@gmx.de>
+
+ * gtk/gtkcellview.c (gtk_cell_view_cell_layout_clear_attributes):
+ Ugh. Don't try to free ints, even if they're stored in pointers.
+
2004-02-09 Federico Mena Quintero <federico@ximian.com>
Fix #132256.
+Mon Feb 9 22:22:19 2004 Matthias Clasen <maclas@gmx.de>
+
+ * gtk/gtkcellview.c (gtk_cell_view_cell_layout_clear_attributes):
+ Ugh. Don't try to free ints, even if they're stored in pointers.
+
2004-02-09 Federico Mena Quintero <federico@ximian.com>
Fix #132256.
+Mon Feb 9 22:22:19 2004 Matthias Clasen <maclas@gmx.de>
+
+ * gtk/gtkcellview.c (gtk_cell_view_cell_layout_clear_attributes):
+ Ugh. Don't try to free ints, even if they're stored in pointers.
+
2004-02-09 Federico Mena Quintero <federico@ximian.com>
Fix #132256.
+Mon Feb 9 22:22:19 2004 Matthias Clasen <maclas@gmx.de>
+
+ * gtk/gtkcellview.c (gtk_cell_view_cell_layout_clear_attributes):
+ Ugh. Don't try to free ints, even if they're stored in pointers.
+
2004-02-09 Federico Mena Quintero <federico@ximian.com>
Fix #132256.
{
GtkCellViewCellInfo *info;
GtkCellView *cellview = GTK_CELL_VIEW (layout);
+ GSList *list;
g_return_if_fail (GTK_IS_CELL_VIEW (cellview));
g_return_if_fail (GTK_IS_CELL_RENDERER (renderer));
info = gtk_cell_view_get_cell_info (cellview, renderer);
g_return_if_fail (info != NULL);
- g_slist_foreach (info->attributes, (GFunc)g_free, NULL);
+ list = info->attributes;
+ while (list && list->next)
+ {
+ g_free (list->data);
+ list = list->next->next;
+ }
+
g_slist_free (info->attributes);
info->attributes = NULL;
}